package com.mk.car.aop;


import org.nutz.aop.InterceptorChain;
import org.nutz.aop.MethodInterceptor;
import org.nutz.ioc.loader.annotation.IocBean;

/**
 * 持久层监控 调用;
 * @author admin
 *
 */
@IocBean
public class DaoMonitor 
	implements MethodInterceptor
{

	public void logInfo() {
		
	}

	@Override
	public void filter(InterceptorChain chain) throws Throwable {
//		System.out.println("持久层访问................");
//		chain.doChain();
//		
//		//参数...
//		Object[] args = chain.getArgs();
//		for(Object obj: args) {
//			System.out.println(obj);
//		}
//	
//		System.out.println("...............end.............");
	}
	
}
